<!-- 项目质量 -->
<template>
  <div class="content">
    <div style="display: flex; justify-content: space-between; margin-top: 20px;">
      <problem-distribution :tabNum="tabNum" class="problem-distribution" />
      <rectification-situation :tabNum="tabNum" class="rectification-situation" />
    </div>
    <div style="display: flex; justify-content: space-between; margin-top: 20px;">
      <reward-punishments :tabNum="tabNum" class="reward-punishments" />
    </div>
  </div>
</template>

<script>
import ProblemDistribution from './problemDistribution'
import RectificationSituation from './rectificationSituation'
import RewardPunishments from './rewardPunishments'

export default {
  components: {ProblemDistribution, RectificationSituation, RewardPunishments},
  props: {
    tabNum: {
      type: String,
      default: '0'
    }
  }
}
</script>

<style lang="scss" scoped>
.content {
  .problem-distribution {
    width: 39.2%;
    height: 380px;
  }
  .rectification-situation {
    flex: 1;
    margin-left: 20px;
    height: 380px;
  }
  .reward-punishments {
    margin-top: 5px;
    margin-bottom: 30px;
    width: 100%;
  }
}
</style>